﻿//INSTANT C# NOTE: Formerly VB.NET project-level imports:
using System.Linq;
using System.Xml.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Shapes;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;

namespace DataBinding
{
	public partial class BindingToCLRProperties
	{

		private void BindingToCLRProperties_Loaded(object sender, System.Windows.RoutedEventArgs e)
		{
			this.DataContext = Data.Person;
		}

		private void Button1_Click(object sender, System.Windows.RoutedEventArgs e)
		{
			Data.Person.FirstName = "CHANGED";
		}

	public BindingToCLRProperties()
	{

//INSTANT C# NOTE: Converted event handler wireups:
		this.Loaded += new System.Windows.RoutedEventHandler(BindingToCLRProperties_Loaded);
		Button1.Click += new System.Windows.RoutedEventHandler(Button1_Click);
	}
	}

} //end of root namespace